import {
  _ as e,
  e as a,
  u as t,
  f as s,
  g as l,
  h as i,
  o,
  c as r,
  b as n,
  i as c,
  t as v,
  j as u,
  N as f,
  F as d,
  r as m,
  k as h,
  l as k,
  m as p,
} from './app.9ea9a1e7.js';
const y = { key: 0, class: 'home-hero' },
  g = { key: 0, class: 'figure' },
  x = ['src', 'alt'],
  $ = { key: 1, id: 'main-title', class: 'title' },
  _ = { key: 2, class: 'description' };
var I = e(
  a({
    setup(e) {
      const a = t(),
        d = s(),
        m = l(() => d.value.heroImage || h.value || p.value || T.value),
        h = l(() => null !== d.value.heroText),
        k = l(() => d.value.heroText || a.value.title),
        p = l(() => null !== d.value.tagline),
        I = l(() => d.value.tagline || a.value.description),
        T = l(() => d.value.actionLink && d.value.actionText),
        A = l(() => d.value.altActionLink && d.value.altActionText);
      return (e, a) =>
        i(m)
          ? (o(),
            r('header', y, [
              e.$frontmatter.heroImage
                ? (o(),
                  r('figure', g, [
                    n(
                      'img',
                      {
                        class: 'image',
                        src: e.$withBase(e.$frontmatter.heroImage),
                        alt: e.$frontmatter.heroAlt,
                      },
                      null,
                      8,
                      x,
                    ),
                  ]))
                : c('v-if', !0),
              i(h) ? (o(), r('h1', $, v(i(k)), 1)) : c('v-if', !0),
              i(p) ? (o(), r('p', _, v(i(I)), 1)) : c('v-if', !0),
              i(T)
                ? (o(),
                  u(
                    f,
                    {
                      key: 3,
                      item: { link: i(d).actionLink, text: i(d).actionText },
                      class: 'action',
                    },
                    null,
                    8,
                    ['item'],
                  ))
                : c('v-if', !0),
              i(A)
                ? (o(),
                  u(
                    f,
                    {
                      key: 4,
                      item: { link: i(d).altActionLink, text: i(d).altActionText },
                      class: 'action alt',
                    },
                    null,
                    8,
                    ['item'],
                  ))
                : c('v-if', !0),
            ]))
          : c('v-if', !0);
    },
  }),
  [['__scopeId', 'data-v-4d71546a']],
);
const T = { key: 0, class: 'home-features' },
  A = { class: 'wrapper' },
  b = { class: 'container' },
  L = { class: 'features' },
  j = { key: 0, class: 'title' },
  w = { key: 1, class: 'details' };
var B = e(
  a({
    setup(e) {
      const a = s(),
        t = l(() => a.value.features && a.value.features.length > 0),
        u = l(() => (a.value.features ? a.value.features : []));
      return (e, a) =>
        i(t)
          ? (o(),
            r('div', T, [
              n('div', A, [
                n('div', b, [
                  n('div', L, [
                    (o(!0),
                    r(
                      d,
                      null,
                      m(
                        i(u),
                        (e, a) => (
                          o(),
                          r('section', { key: a, class: 'feature' }, [
                            e.title ? (o(), r('h2', j, v(e.title), 1)) : c('v-if', !0),
                            e.details ? (o(), r('p', w, v(e.details), 1)) : c('v-if', !0),
                          ])
                        ),
                      ),
                      128,
                    )),
                  ]),
                ]),
              ]),
            ]))
          : c('v-if', !0);
    },
  }),
  [['__scopeId', 'data-v-51467b1a']],
);
const C = { key: 0, class: 'footer' },
  F = { class: 'container' },
  N = { class: 'text' };
var q = e({}, [
  [
    'render',
    function (e, a) {
      return e.$frontmatter.footer
        ? (o(), r('footer', C, [n('div', F, [n('p', N, v(e.$frontmatter.footer), 1)])]))
        : c('v-if', !0);
    },
  ],
  ['__scopeId', 'data-v-26801c16'],
]);
const z = { class: 'home', 'aria-labelledby': 'main-title' },
  D = { class: 'home-content' };
var E = e(
  a({
    setup: (e) => (e, a) => {
      const t = h('Content');
      return (
        o(),
        r('main', z, [
          k(I),
          p(e.$slots, 'hero', {}, void 0, !0),
          k(B),
          n('div', D, [k(t)]),
          p(e.$slots, 'features', {}, void 0, !0),
          k(q),
          p(e.$slots, 'footer', {}, void 0, !0),
        ])
      );
    },
  }),
  [['__scopeId', 'data-v-9d516c10']],
);
export { E as default };
